package com.example.chcrm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chcrm.entity.common.ResponseMsg;
import com.example.chcrm.entity.consignor.CustomerInfo;
import com.example.chcrm.entity.employee.Department;
import com.example.chcrm.entity.employee.EmployeeVo;
import org.springframework.web.servlet.ModelAndView;

/**
 * @Author 邹
 * @Date 2025/4/20 2:03
 * @Version 1.0
 */
public interface CustomerInfoService <T>{
    ResponseMsg<IPage<CustomerInfo>> pageList(CustomerInfo customerInfo, EmployeeVo empVo);

    ResponseMsg<Object> disable(CustomerInfo customerInfo, EmployeeVo empVo);

    ResponseMsg<Object> detail(String id);

    ResponseMsg<Object> update(CustomerInfo customerInfo);

    /**
     * 新增委托商
     * @param customerInfo 委托商信息
     * @param empVo 操作人信息
     * @return 操作结果
     */
    ResponseMsg<Object> add(CustomerInfo customerInfo, EmployeeVo empVo);

    ModelAndView export(CustomerInfo customerInfo, EmployeeVo empVo);
}
